While you can use as many page
directives as you like, it is more readable to set multiple page attributes in a single directive.
The exception to this rule is when multiple packages are being imported. In that case, imports may be done in separate directives and all other
attributes should be set in a single, additional directive.
Noncompliant code example
<%@ page session="false" %>
<%@ page import="java.util.*" %>
<%@ page errorPage="error.jsp" %> <!-- Noncompliant -->
<%@ page import="java.text.*" %>
Compliant solution
<%@ page session="false"
errorPage="error.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>